import { Http } from '../../utils/http';

export function getList({ token, page, pageSize, sell_user='', buy_user='' }) {
  let params = {};
  params['token'] = token;
  params['page'] = page;
  params['pagesize'] = pageSize;
  params['sell_user'] = sell_user;
  params['buy_user'] = buy_user;
  return Http.Get(`/api/order/list`, params);
}